package com.tedu.egmybatis2.mapper;

import com.tedu.egmybatis2.pojo.Product;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);

    int updateProductById(Product product);

    int deleteProductById(Integer id);

    Product selectProductById(Integer id);

    List<Product> selectAllProduct();
}
